import json

def build_data(filepath):
    """
    功能：读取json文件组装成[(), (), ()]格式的数据
    :param filepath: 指定处理的json文件
    :return: 组装完成的列表数据
    """
    with open(filepath, 'r', encoding='utf-8') as f:
        json_data = json.load(f)
        # print(json_data)

        list_tuple_data = []
        for i in json_data:
            # print(i.values())
            list_tuple_data.append(tuple(i.values()))

        return list_tuple_data

if __name__ == '__main__':
    print(build_data('./login.json'))